package com.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * sitepoint
 * @author 
 */
@Data
public class Sitepoint implements Serializable {
    private Integer id;

    private String pointname;

    private Integer sitetype;

    private String siteposition;

    private Integer siteid;

    private String note;

    private Integer routeid;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startdata;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime enddata;

    private Integer pointorder;

    private Integer shifou;

    private Integer pointstate;

    private String realsitetime;

    private String attachpath;

    private Integer plotid;

    private static final long serialVersionUID = 1L;



    //封装巡检项目表
    private Site site;
    //封装巡检路线表
    private Siteroute siteroute;
    //    //封装小区表
    private Plot plot;

    private Sitetype sitetypes;

    private Siteproject siteproject;
}